pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 24 Feb 2023 17:28:10 +0000 (18:28 +0100)
commitd8e6f53a82f027ae4be795c9712ded6aba4bde6a
tree5cac9ecc452a9b9e49161f59d93b08168b35695d
parent172dabc0a3410f3679f5cdff6ec55d672052ce16
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py